
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.CureTaskMedicine;
import cn.edu.scau.cmi.hombio.domain.CureTaskMethod;
import cn.edu.scau.cmi.hombio.domain.Medicine;
import cn.edu.scau.cmi.hombio.domain.Unit;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for CureTaskMedicine entities
 * 
 */
public interface CureTaskMedicineService {

	/**
	* Delete an existing Medicine entity
	* 
	 */
	public CureTaskMedicine deleteCureTaskMedicineMedicine(Integer curetaskmedicine_id, Integer related_medicine_id);

	/**
	* Save an existing Unit entity
	* 
	 */
	public CureTaskMedicine saveCureTaskMedicineUnit(Integer id, Unit related_unit);

	/**
	* Save an existing CureTaskMedicine entity
	* 
	 */
	public void saveCureTaskMedicine(CureTaskMedicine curetaskmedicine);

	/**
	* Return a count of all CureTaskMedicine entity
	* 
	 */
	public Integer countCureTaskMedicines();

	/**
	* Delete an existing CureTaskMethod entity
	* 
	 */
	public CureTaskMedicine deleteCureTaskMedicineCureTaskMethod(Integer curetaskmedicine_id_1, Integer related_curetaskmethod_id);

	/**
	* Delete an existing Unit entity
	* 
	 */
	public CureTaskMedicine deleteCureTaskMedicineUnit(Integer curetaskmedicine_id_2, Integer related_unit_id);

	/**
	* Delete an existing CureTaskMedicine entity
	* 
	 */
	public void deleteCureTaskMedicine(CureTaskMedicine curetaskmedicine_1);

	/**
	 */
	public CureTaskMedicine findCureTaskMedicineByPrimaryKey(Integer id_1);

	/**
	* Return all CureTaskMedicine entity
	* 
	 */
	public List<CureTaskMedicine> findAllCureTaskMedicines(Integer startResult, Integer maxRows);

	/**
	* Save an existing Medicine entity
	* 
	 */
	public CureTaskMedicine saveCureTaskMedicineMedicine(Integer id_2, Medicine related_medicine);

	/**
	* Save an existing CureTaskMethod entity
	* 
	 */
	public CureTaskMedicine saveCureTaskMedicineCureTaskMethod(Integer id_3, CureTaskMethod related_curetaskmethod);

	/**
	* Load an existing CureTaskMedicine entity
	* 
	 */
	public Set<CureTaskMedicine> loadCureTaskMedicines();
}